<template>
  <v-app-bar border="b" class="px-0" scroll-behavior="elevate">
    <template #prepend>
      <router-link style="text-decoration: none;" to="/">
        <v-img
          alt="知讯量化"
          class="ml-2"
          cover
          eager
          max-height="80"
          max-width="120"
          src="https://zhixuntrader-pic.oss-cn-shenzhen.aliyuncs.com/%E5%A4%84%E7%90%86%E5%AE%8C%E6%88%90%E5%9B%BE%E7%89%8720250808103519.png"
          transition="fade-transition"
          width="auto"
        />
      </router-link>
    </template>
    <v-btn to="/datasheetPage" variant="plain">
      说明书册
    </v-btn>
    <v-btn :to="{path: '/dataPage'}" variant="plain">
      数据
    </v-btn>
    <v-btn :to="{path: '/strategyPage'}" variant="plain">
      策略
    </v-btn>
    <v-btn :to="{path: '/backtestPage'}" variant="plain">
      回测
    </v-btn>
  </v-app-bar>
  <v-main>
    <router-view />
  </v-main>
</template>

<script lang="ts" setup>
  //
</script>
